package jellis.android.proto;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class app extends TabActivity {
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.main2);

	    TabHost tabHost = getTabHost();  // The activity TabHost
	    TabHost.TabSpec spec;  // Resusable TabSpec for each tab
	    Intent intent;  // Reusable Intent for each tab

	    // Do the same for the other tabs
	    intent = new Intent().setClass(this, Agenda.class);
	    spec = tabHost.newTabSpec("albums").setIndicator("Planner")
	                  .setContent(intent);
	    tabHost.addTab(spec);

	    intent = new Intent().setClass(this, Grafiek.class);
	    spec = tabHost.newTabSpec("songs").setIndicator("Grafiek")
	                  .setContent(intent);
	    tabHost.addTab(spec);
	    
	    intent = new Intent().setClass(this, Vaccinaties.class);
	    spec = tabHost.newTabSpec("songs").setIndicator("Vaccinatie")
	                  .setContent(intent);
	    tabHost.addTab(spec);


	    tabHost.setCurrentTab(0);
	}
}